﻿<ui:View x:Class="CPPEI.Coolzon.UI.Views.SelectSolutionView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
         xmlns:ui="clr-namespace:CPPEI.Coolzon.UI;assembly=Sunboxsoft.ChanceData.Core"
             mc:Ignorable="d" 
             Background="#1D1D1D">
    <ui:View.Resources>
        <Image x:Key="image" Source="../Images/gjld.png"></Image>
        <Style x:Key="s_btn" TargetType="Button">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Button">
                        <ContentPresenter Content="{TemplateBinding Content}"/>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </ui:View.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="108"></RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        <Canvas Background="Transparent" Grid.Row="0" Width="967">
            <StackPanel Orientation="Horizontal" Height="108">
                <Image Source="../Images/logo.png" Margin="20,5,5,5"></Image>
                <TextBlock Text="酷展综合展示平台" Foreground="White" FontSize="48" VerticalAlignment="Center"/>
            </StackPanel>
            <Image Source="../Images/c-icon1.png" Width="20" Height="24" Canvas.Left="650" Canvas.Top="46" />
            <TextBlock x:Name="tbAccountName" Foreground="White" FontFamily="黑体" FontSize="24" Text="nimei" Canvas.Left="680" Canvas.Top="46" />
            <TextBlock x:Name="tbFullscreen" Foreground="White" FontFamily="黑体" FontSize="24" Text="全屏" Canvas.Left="900" Canvas.Top="46" PreviewMouseLeftButtonDown="tbFullscreen_PreviewMouseLeftButtonDown" />
            <Border Canvas.Left="840" Canvas.Top="46" Cursor="Hand" x:Name="Logout" PreviewMouseDown="Logout_PreviewMouseDown">
                <TextBlock Text="注销" Foreground="White" FontFamily="黑体" FontSize="24" />
            </Border>
            <Button Name="_ctlBtnBack" Visibility="Hidden" Canvas.Left="780" Canvas.Top="46" Width="50" Height="25" Click="_ctlBtnBack_Click_1" Style="{StaticResource s_btn}">
                <TextBlock Text="返回" Foreground="White" FontFamily="黑体" FontSize="24" />
            </Button>
        </Canvas>
        <Grid Grid.Row="1">
            <ScrollViewer x:Name="scrollView" CanContentScroll="True" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" PanningMode="Both">
                <WrapPanel x:Name="wrapPanel" Width="967" HorizontalAlignment="Center">
                </WrapPanel>
            </ScrollViewer>
            <StackPanel Name="_ctlPanelRetry" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Hidden">
                <TextBlock Text="获取方案失败!" Foreground="White" FontSize="24" Margin="10"/>
                <Button Name="_ctlBtnRetry" Content="重试" Height="24" Width="75" Click="_ctlBtnRetry_Click"/>
            </StackPanel>
        </Grid>
    </Grid>

</ui:View>
